package com.lechi.web.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * CmsMain
 *
 * @author yangguang
 */
@Data
public class CmsMain {

    private Long id;

    private String title;

    private String catalog1;

    private String catalog2;

    private String mainContent;

    private String summary;

    private String articleType;

    private String coverImg;

    private Long version;

    private Long isTop;

    private Long state;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date publishDate;

    private Long readCount;

    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
